import { requestMock } from "./index";

requestMock.interceptors.request.use((config) => {
	return config;
});
requestMock.interceptors.response.use(
	(res) => {
		return res.data.data;
	},
	(error) => {
		return Promise.reject(error);
	}
);
export default requestMock;
